using System;
class ThirdDigitIs7
{
    static void Main(string[] args)
    {
		Console.WriteLine("Input a number to check if 3rd digit is:");
        int x = int.Parse(Console.ReadLine());
		bool isSeven;
		//34753/100 => 347 % 10 == 7
		if((x/100)%10==7)
		{
			isSeven = true;
		}
		else
		{
			isSeven = false;
		}
		Console.WriteLine("Third digit is 7: "+isSeven);
	}
}